package com.taiyi.renaissancemall.ui.mine.aftersale


import android.os.Bundle

import com.taiyi.renaissancemall.R
import com.taiyi.renaissancemall.base.BaseActivity
import com.taiyi.renaissancemall.base.normalvp.NormalPresenter
import com.taiyi.renaissancemall.base.normalvp.NormalView
import com.taiyi.renaissancemall.ui.mine.order.order_sale_list.SaleFragment
import kotlinx.android.synthetic.main.activity_after_sales.*
import kotlinx.android.synthetic.main.base_top_white_background_layout.*

class AfterSalesActivity : BaseActivity<NormalView, NormalPresenter>() {


    override fun getLayoutId(): Int = R.layout.activity_after_sales

    override fun initPresenter(): NormalPresenter = NormalPresenter()
    override fun initViews(savedInstanceState: Bundle?) {
        titleTv.text = getString(R.string.afterSale)
        backIv.setOnClickListener { finish() }
        supportFragmentManager.beginTransaction().replace(R.id.container, SaleFragment()).commit()
    }

    override fun initImmersionBar() {
        super.initImmersionBar()
        mImmersionBar.titleBar(top).init()
    }

    override fun initData() {

    }

    override fun initEvent() {

    }
}
